using System;
using L=Science.Physics.GeneralPhysics;

namespace Serway.Chapter08
{
	/// <summary>
	/// Example04: A Grand Entrance
	/// You are designing an apparatus to support an actor 
	/// of mass 65 kg who is to "Fly" down to the stage during 
	/// the performance of a play. You attach the actor's harness 
	/// to a 130 kg sandbag by means of a lightweight steel cable 
	/// running never life above the floor as the actor swings 
	/// from above the stage to the floor. Let us call the initial 
	/// angle that the actor's cable makes with the vertical \theta. 
	/// What is the maximum value \theta can have before the sandbag 
	/// lifts off the floor?
	/// \theta = 60^{\circle}
	/// </summary>
	public class Example04
	{
		public Example04()
		{
		}
		private string result;
		public string Result
		{
			get{return result;}
		}
		public void Compute()
		{
			// actor moves on circle
			// T - m_a*g  = m_a*v^2/l
			// T = m_b*g
			// m_a*g*l*(1-cos\theta)=1/2*m_a*v^2
			// m_b*g - m_a*g = 2*m_a*g*(1-cos\theta)
			result = "Read the book!";
		}
	}
}
